<template>
  <div id="app">
    <router-view />
    <van-cell is-link @click="showPopup">展示弹出层</van-cell>
    <van-popup v-model="show" position="bottom" round>
      <login />
    </van-popup>
  </div>
</template>

<script>
import login from './view/login'
export default {
  name: 'App',
  components: { login },
  data() {
    return {
      show: false,
    };
  },

  methods: {
    showPopup() {
      this.show = true;
    },
  },
}
</script>

<style>
* {
  padding: 0;
  margin: 0;
}
</style>
